/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.PivotTable*/
public class PivotTable extends JavaScriptObject {

	protected PivotTable() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final JavaScriptObject addFields( Object rowFields,  Object columnFields,  Object pageFields,  Object addToTable)/*-{
		return this.AddFields( rowFields, columnFields, pageFields, addToTable);
	}-*/;

	public native final Object getColumnFields( Object index)/*-{
		return this.ColumnFields( index);
	}-*/;

	public native final boolean getColumnGrand()/*-{
		return this.ColumnGrand;
	}-*/;

	public native final void setColumnGrand(boolean value)/*-{
		this.ColumnGrand = value;
	}-*/;

	public native final Range getColumnRange()/*-{
		return this.ColumnRange;
	}-*/;

	public native final JavaScriptObject showPages( Object pageField)/*-{
		return this.ShowPages( pageField);
	}-*/;

	public native final Range getDataBodyRange()/*-{
		return this.DataBodyRange;
	}-*/;

	public native final Object getDataFields( Object index)/*-{
		return this.DataFields( index);
	}-*/;

	public native final Range getDataLabelRange()/*-{
		return this.DataLabelRange;
	}-*/;

	public native final String get_Default()/*-{
		return this._Default;
	}-*/;

	public native final void set_Default(String value)/*-{
		this._Default = value;
	}-*/;

	public native final boolean getHasAutoFormat()/*-{
		return this.HasAutoFormat;
	}-*/;

	public native final void setHasAutoFormat(boolean value)/*-{
		this.HasAutoFormat = value;
	}-*/;

	public native final Object getHiddenFields( Object index)/*-{
		return this.HiddenFields( index);
	}-*/;

	public native final String getInnerDetail()/*-{
		return this.InnerDetail;
	}-*/;

	public native final void setInnerDetail(String value)/*-{
		this.InnerDetail = value;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final Object getPageFields( Object index)/*-{
		return this.PageFields( index);
	}-*/;

	public native final Range getPageRange()/*-{
		return this.PageRange;
	}-*/;

	public native final Range getPageRangeCells()/*-{
		return this.PageRangeCells;
	}-*/;

	public native final Object pivotFields( Object index)/*-{
		return this.PivotFields( index);
	}-*/;

	public native final java.util.Date getRefreshDate()/*-{
		return this.RefreshDate;
	}-*/;

	public native final String getRefreshName()/*-{
		return this.RefreshName;
	}-*/;

	public native final boolean refreshTable()/*-{
		return this.RefreshTable( );
	}-*/;

	public native final Object getRowFields( Object index)/*-{
		return this.RowFields( index);
	}-*/;

	public native final boolean getRowGrand()/*-{
		return this.RowGrand;
	}-*/;

	public native final void setRowGrand(boolean value)/*-{
		this.RowGrand = value;
	}-*/;

	public native final Range getRowRange()/*-{
		return this.RowRange;
	}-*/;

	public native final boolean getSaveData()/*-{
		return this.SaveData;
	}-*/;

	public native final void setSaveData(boolean value)/*-{
		this.SaveData = value;
	}-*/;

	public native final JavaScriptObject getSourceData()/*-{
		return this.SourceData;
	}-*/;

	public native final void setSourceData( Object value)/*-{
		this.SourceData = value;
	}-*/;

	public native final Range getTableRange1()/*-{
		return this.TableRange1;
	}-*/;

	public native final Range getTableRange2()/*-{
		return this.TableRange2;
	}-*/;

	public native final String getValue()/*-{
		return this.Value;
	}-*/;

	public native final void setValue(String value)/*-{
		this.Value = value;
	}-*/;

	public native final Object getVisibleFields( Object index)/*-{
		return this.VisibleFields( index);
	}-*/;

	public native final int getCacheIndex()/*-{
		return this.CacheIndex;
	}-*/;

	public native final void setCacheIndex(int value)/*-{
		this.CacheIndex = value;
	}-*/;

	public native final CalculatedFields calculatedFields()/*-{
		return this.CalculatedFields( );
	}-*/;

	public native final boolean getDisplayErrorString()/*-{
		return this.DisplayErrorString;
	}-*/;

	public native final void setDisplayErrorString(boolean value)/*-{
		this.DisplayErrorString = value;
	}-*/;

	public native final boolean getDisplayNullString()/*-{
		return this.DisplayNullString;
	}-*/;

	public native final void setDisplayNullString(boolean value)/*-{
		this.DisplayNullString = value;
	}-*/;

	public native final boolean getEnableDrilldown()/*-{
		return this.EnableDrilldown;
	}-*/;

	public native final void setEnableDrilldown(boolean value)/*-{
		this.EnableDrilldown = value;
	}-*/;

	public native final boolean getEnableFieldDialog()/*-{
		return this.EnableFieldDialog;
	}-*/;

	public native final void setEnableFieldDialog(boolean value)/*-{
		this.EnableFieldDialog = value;
	}-*/;

	public native final boolean getEnableWizard()/*-{
		return this.EnableWizard;
	}-*/;

	public native final void setEnableWizard(boolean value)/*-{
		this.EnableWizard = value;
	}-*/;

	public native final String getErrorString()/*-{
		return this.ErrorString;
	}-*/;

	public native final void setErrorString(String value)/*-{
		this.ErrorString = value;
	}-*/;

	public native final double getData(String name)/*-{
		return this.GetData( name);
	}-*/;

	public native final void listFormulas()/*-{
		this.ListFormulas( );
	}-*/;

	public native final boolean getManualUpdate()/*-{
		return this.ManualUpdate;
	}-*/;

	public native final void setManualUpdate(boolean value)/*-{
		this.ManualUpdate = value;
	}-*/;

	public native final boolean getMergeLabels()/*-{
		return this.MergeLabels;
	}-*/;

	public native final void setMergeLabels(boolean value)/*-{
		this.MergeLabels = value;
	}-*/;

	public native final String getNullString()/*-{
		return this.NullString;
	}-*/;

	public native final void setNullString(String value)/*-{
		this.NullString = value;
	}-*/;

	public native final PivotCache pivotCache()/*-{
		return this.PivotCache( );
	}-*/;

	public native final PivotFormulas getPivotFormulas()/*-{
		return this.PivotFormulas;
	}-*/;

	public native final void pivotTableWizard( Object sourceType,  Object sourceData,  Object tableDestination,  Object tableName,  Object rowGrand,  Object columnGrand,  Object saveData,  Object hasAutoFormat,  Object autoPage,  Object reserved,  Object backgroundQuery,  Object optimizeCache,  Object pageFieldOrder,  Object pageFieldWrapCount,  Object readData,  Object connection)/*-{
		this.PivotTableWizard( sourceType, sourceData, tableDestination, tableName, rowGrand, columnGrand, saveData, hasAutoFormat, autoPage, reserved, backgroundQuery, optimizeCache, pageFieldOrder, pageFieldWrapCount, readData, connection);
	}-*/;

	public native final boolean getSubtotalHiddenPageItems()/*-{
		return this.SubtotalHiddenPageItems;
	}-*/;

	public native final void setSubtotalHiddenPageItems(boolean value)/*-{
		this.SubtotalHiddenPageItems = value;
	}-*/;

	public native final int getPageFieldOrder()/*-{
		return this.PageFieldOrder;
	}-*/;

	public native final void setPageFieldOrder(int value)/*-{
		this.PageFieldOrder = value;
	}-*/;

	public native final String getPageFieldStyle()/*-{
		return this.PageFieldStyle;
	}-*/;

	public native final void setPageFieldStyle(String value)/*-{
		this.PageFieldStyle = value;
	}-*/;

	public native final int getPageFieldWrapCount()/*-{
		return this.PageFieldWrapCount;
	}-*/;

	public native final void setPageFieldWrapCount(int value)/*-{
		this.PageFieldWrapCount = value;
	}-*/;

	public native final boolean getPreserveFormatting()/*-{
		return this.PreserveFormatting;
	}-*/;

	public native final void setPreserveFormatting(boolean value)/*-{
		this.PreserveFormatting = value;
	}-*/;

	public native final void _PivotSelect(String name, int mode)/*-{
		this._PivotSelect( name, mode);
	}-*/;

	public native final String getPivotSelection()/*-{
		return this.PivotSelection;
	}-*/;

	public native final void setPivotSelection(String value)/*-{
		this.PivotSelection = value;
	}-*/;

	public native final int getSelectionMode()/*-{
		return this.SelectionMode;
	}-*/;

	public native final void setSelectionMode(int value)/*-{
		this.SelectionMode = value;
	}-*/;

	public native final String getTableStyle()/*-{
		return this.TableStyle;
	}-*/;

	public native final void setTableStyle(String value)/*-{
		this.TableStyle = value;
	}-*/;

	public native final String getTag()/*-{
		return this.Tag;
	}-*/;

	public native final void setTag(String value)/*-{
		this.Tag = value;
	}-*/;

	public native final void update()/*-{
		this.Update( );
	}-*/;

	public native final String getVacatedStyle()/*-{
		return this.VacatedStyle;
	}-*/;

	public native final void setVacatedStyle(String value)/*-{
		this.VacatedStyle = value;
	}-*/;

	public native final void format(int format)/*-{
		this.Format( format);
	}-*/;

	public native final boolean getPrintTitles()/*-{
		return this.PrintTitles;
	}-*/;

	public native final void setPrintTitles(boolean value)/*-{
		this.PrintTitles = value;
	}-*/;

	public native final CubeFields getCubeFields()/*-{
		return this.CubeFields;
	}-*/;

	public native final String getGrandTotalName()/*-{
		return this.GrandTotalName;
	}-*/;

	public native final void setGrandTotalName(String value)/*-{
		this.GrandTotalName = value;
	}-*/;

	public native final boolean getSmallGrid()/*-{
		return this.SmallGrid;
	}-*/;

	public native final void setSmallGrid(boolean value)/*-{
		this.SmallGrid = value;
	}-*/;

	public native final boolean getRepeatItemsOnEachPrintedPage()/*-{
		return this.RepeatItemsOnEachPrintedPage;
	}-*/;

	public native final void setRepeatItemsOnEachPrintedPage(boolean value)/*-{
		this.RepeatItemsOnEachPrintedPage = value;
	}-*/;

	public native final boolean getTotalsAnnotation()/*-{
		return this.TotalsAnnotation;
	}-*/;

	public native final void setTotalsAnnotation(boolean value)/*-{
		this.TotalsAnnotation = value;
	}-*/;

	public native final void pivotSelect(String name, int mode,  Object useStandardName)/*-{
		this.PivotSelect( name, mode, useStandardName);
	}-*/;

	public native final String getPivotSelectionStandard()/*-{
		return this.PivotSelectionStandard;
	}-*/;

	public native final void setPivotSelectionStandard(String value)/*-{
		this.PivotSelectionStandard = value;
	}-*/;

	public native final Range getPivotData( Object dataField,  Object field1,  Object item1,  Object field2,  Object item2,  Object field3,  Object item3,  Object field4,  Object item4,  Object field5,  Object item5,  Object field6,  Object item6,  Object field7,  Object item7,  Object field8,  Object item8,  Object field9,  Object item9,  Object field10,  Object item10,  Object field11,  Object item11,  Object field12,  Object item12,  Object field13,  Object item13,  Object field14,  Object item14)/*-{
		return this.GetPivotData( dataField, field1, item1, field2, item2, field3, item3, field4, item4, field5, item5, field6, item6, field7, item7, field8, item8, field9, item9, field10, item10, field11, item11, field12, item12, field13, item13, field14, item14);
	}-*/;

	public native final PivotField getDataPivotField()/*-{
		return this.DataPivotField;
	}-*/;

	public native final boolean getEnableDataValueEditing()/*-{
		return this.EnableDataValueEditing;
	}-*/;

	public native final void setEnableDataValueEditing(boolean value)/*-{
		this.EnableDataValueEditing = value;
	}-*/;

	public native final PivotField addDataField(Object field,  Object caption,  Object aFunction)/*-{
		return this.AddDataField( field, caption, aFunction);
	}-*/;

	public native final String getMDX()/*-{
		return this.MDX;
	}-*/;

	public native final boolean getViewCalculatedMembers()/*-{
		return this.ViewCalculatedMembers;
	}-*/;

	public native final void setViewCalculatedMembers(boolean value)/*-{
		this.ViewCalculatedMembers = value;
	}-*/;

	public native final CalculatedMembers getCalculatedMembers()/*-{
		return this.CalculatedMembers;
	}-*/;

	public native final boolean getDisplayImmediateItems()/*-{
		return this.DisplayImmediateItems;
	}-*/;

	public native final void setDisplayImmediateItems(boolean value)/*-{
		this.DisplayImmediateItems = value;
	}-*/;

	public native final JavaScriptObject dummy15( Object arg1,  Object arg2,  Object arg3,  Object arg4,  Object arg5,  Object arg6,  Object arg7,  Object arg8,  Object arg9,  Object arg10,  Object arg11,  Object arg12,  Object arg13,  Object arg14,  Object arg15,  Object arg16,  Object arg17,  Object arg18,  Object arg19,  Object arg20,  Object arg21,  Object arg22,  Object arg23,  Object arg24,  Object arg25,  Object arg26,  Object arg27,  Object arg28,  Object arg29,  Object arg30)/*-{
		return this.Dummy15( arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30);
	}-*/;

	public native final boolean getEnableFieldList()/*-{
		return this.EnableFieldList;
	}-*/;

	public native final void setEnableFieldList(boolean value)/*-{
		this.EnableFieldList = value;
	}-*/;

	public native final boolean getVisualTotals()/*-{
		return this.VisualTotals;
	}-*/;

	public native final void setVisualTotals(boolean value)/*-{
		this.VisualTotals = value;
	}-*/;

	public native final boolean getShowPageMultipleItemLabel()/*-{
		return this.ShowPageMultipleItemLabel;
	}-*/;

	public native final void setShowPageMultipleItemLabel(boolean value)/*-{
		this.ShowPageMultipleItemLabel = value;
	}-*/;

	public native final int getVersion()/*-{
		return this.Version;
	}-*/;

	public native final String createCubeFile(String file,  Object measures,  Object levels,  Object members,  Object properties)/*-{
		return this.CreateCubeFile( file, measures, levels, members, properties);
	}-*/;

	public native final boolean getDisplayEmptyRow()/*-{
		return this.DisplayEmptyRow;
	}-*/;

	public native final void setDisplayEmptyRow(boolean value)/*-{
		this.DisplayEmptyRow = value;
	}-*/;

	public native final boolean getDisplayEmptyColumn()/*-{
		return this.DisplayEmptyColumn;
	}-*/;

	public native final void setDisplayEmptyColumn(boolean value)/*-{
		this.DisplayEmptyColumn = value;
	}-*/;

	public native final boolean getShowCellBackgroundFromOLAP()/*-{
		return this.ShowCellBackgroundFromOLAP;
	}-*/;

	public native final void setShowCellBackgroundFromOLAP(boolean value)/*-{
		this.ShowCellBackgroundFromOLAP = value;
	}-*/;

	public native final PivotAxis getPivotColumnAxis()/*-{
		return this.PivotColumnAxis;
	}-*/;

	public native final PivotAxis getPivotRowAxis()/*-{
		return this.PivotRowAxis;
	}-*/;

	public native final boolean getShowDrillIndicators()/*-{
		return this.ShowDrillIndicators;
	}-*/;

	public native final void setShowDrillIndicators(boolean value)/*-{
		this.ShowDrillIndicators = value;
	}-*/;

	public native final boolean getPrintDrillIndicators()/*-{
		return this.PrintDrillIndicators;
	}-*/;

	public native final void setPrintDrillIndicators(boolean value)/*-{
		this.PrintDrillIndicators = value;
	}-*/;

	public native final boolean getDisplayMemberPropertyTooltips()/*-{
		return this.DisplayMemberPropertyTooltips;
	}-*/;

	public native final void setDisplayMemberPropertyTooltips(boolean value)/*-{
		this.DisplayMemberPropertyTooltips = value;
	}-*/;

	public native final boolean getDisplayContextTooltips()/*-{
		return this.DisplayContextTooltips;
	}-*/;

	public native final void setDisplayContextTooltips(boolean value)/*-{
		this.DisplayContextTooltips = value;
	}-*/;

	public native final void clearTable()/*-{
		this.ClearTable( );
	}-*/;

	public native final int getCompactRowIndent()/*-{
		return this.CompactRowIndent;
	}-*/;

	public native final void setCompactRowIndent(int value)/*-{
		this.CompactRowIndent = value;
	}-*/;

	public native final int getLayoutRowDefault()/*-{
		return this.LayoutRowDefault;
	}-*/;

	public native final void setLayoutRowDefault(int value)/*-{
		this.LayoutRowDefault = value;
	}-*/;

	public native final boolean getDisplayFieldCaptions()/*-{
		return this.DisplayFieldCaptions;
	}-*/;

	public native final void setDisplayFieldCaptions(boolean value)/*-{
		this.DisplayFieldCaptions = value;
	}-*/;

	public native final void rowAxisLayout(int rowLayout)/*-{
		this.RowAxisLayout( rowLayout);
	}-*/;

	public native final void subtotalLocation(int location)/*-{
		this.SubtotalLocation( location);
	}-*/;

	public native final PivotFilters getActiveFilters()/*-{
		return this.ActiveFilters;
	}-*/;

	public native final boolean getInGridDropZones()/*-{
		return this.InGridDropZones;
	}-*/;

	public native final void setInGridDropZones(boolean value)/*-{
		this.InGridDropZones = value;
	}-*/;

	public native final void clearAllFilters()/*-{
		this.ClearAllFilters( );
	}-*/;

	public native final JavaScriptObject getTableStyle2()/*-{
		return this.TableStyle2;
	}-*/;

	public native final void setTableStyle2( Object value)/*-{
		this.TableStyle2 = value;
	}-*/;

	public native final boolean getShowTableStyleLastColumn()/*-{
		return this.ShowTableStyleLastColumn;
	}-*/;

	public native final void setShowTableStyleLastColumn(boolean value)/*-{
		this.ShowTableStyleLastColumn = value;
	}-*/;

	public native final boolean getShowTableStyleRowStripes()/*-{
		return this.ShowTableStyleRowStripes;
	}-*/;

	public native final void setShowTableStyleRowStripes(boolean value)/*-{
		this.ShowTableStyleRowStripes = value;
	}-*/;

	public native final boolean getShowTableStyleColumnStripes()/*-{
		return this.ShowTableStyleColumnStripes;
	}-*/;

	public native final void setShowTableStyleColumnStripes(boolean value)/*-{
		this.ShowTableStyleColumnStripes = value;
	}-*/;

	public native final boolean getShowTableStyleRowHeaders()/*-{
		return this.ShowTableStyleRowHeaders;
	}-*/;

	public native final void setShowTableStyleRowHeaders(boolean value)/*-{
		this.ShowTableStyleRowHeaders = value;
	}-*/;

	public native final boolean getShowTableStyleColumnHeaders()/*-{
		return this.ShowTableStyleColumnHeaders;
	}-*/;

	public native final void setShowTableStyleColumnHeaders(boolean value)/*-{
		this.ShowTableStyleColumnHeaders = value;
	}-*/;

	public native final void convertToFormulas(boolean convertFilters)/*-{
		this.ConvertToFormulas( convertFilters);
	}-*/;

	public native final boolean getAllowMultipleFilters()/*-{
		return this.AllowMultipleFilters;
	}-*/;

	public native final void setAllowMultipleFilters(boolean value)/*-{
		this.AllowMultipleFilters = value;
	}-*/;

	public native final String getCompactLayoutRowHeader()/*-{
		return this.CompactLayoutRowHeader;
	}-*/;

	public native final void setCompactLayoutRowHeader(String value)/*-{
		this.CompactLayoutRowHeader = value;
	}-*/;

	public native final String getCompactLayoutColumnHeader()/*-{
		return this.CompactLayoutColumnHeader;
	}-*/;

	public native final void setCompactLayoutColumnHeader(String value)/*-{
		this.CompactLayoutColumnHeader = value;
	}-*/;

	public native final boolean getFieldListSortAscending()/*-{
		return this.FieldListSortAscending;
	}-*/;

	public native final void setFieldListSortAscending(boolean value)/*-{
		this.FieldListSortAscending = value;
	}-*/;

	public native final boolean getSortUsingCustomLists()/*-{
		return this.SortUsingCustomLists;
	}-*/;

	public native final void setSortUsingCustomLists(boolean value)/*-{
		this.SortUsingCustomLists = value;
	}-*/;

	public native final void changeConnection(WorkbookConnection conn)/*-{
		this.ChangeConnection( conn);
	}-*/;

	public native final void changePivotCache( Object pivotCache)/*-{
		this.ChangePivotCache( pivotCache);
	}-*/;

	public native final String getLocation()/*-{
		return this.Location;
	}-*/;

	public native final void setLocation(String value)/*-{
		this.Location = value;
	}-*/;

}
